home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Libraries / Graphic Elements 2 / GEDemo / Pogo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-19  |  742 b   |  53 lines  |  [TEXT/MPS ]

  1. /*
  2.     Pogo.h
  3.     
  4.     Boy on pogo stick for Graphic Elements demo
  5.     
  6.     Copyright 1993 by Al Evans. All rights reserved.
  7.     
  8.     11/10/93
  9. */
  10.  
  11. #ifdef applec
  12. #ifndef __cplusplus
  13. #ifndef PRELOAD
  14. #pragma load "::ToolKit.precompile"
  15. #define PRELOAD
  16. #endif
  17. #endif
  18. #endif
  19.  
  20. #ifndef GRAPHELEMENTS
  21. #include "GraphElements.h"
  22. #endif
  23.  
  24. //Starting resource number of PICT sequence
  25.  
  26. #define rPogoPic    140
  27.  
  28. //Starting position of graphic
  29.  
  30. #define pogoLeft    98
  31. #define pogoTop        218
  32.  
  33. //Plane of graphic
  34.  
  35. #define pogoPlane    650
  36.  
  37. //Graphic ID
  38.  
  39. #define pogoID        'POGO'
  40.  
  41. #ifdef __cplusplus
  42. extern "C" {
  43. #endif
  44.  
  45. Boolean LoadPogoScene(GEWorldPtr world);
  46.  
  47. //Autochange proc for pogo stick animation
  48. pascal void DoPogoStick(GEWorldPtr world, GrafElPtr pogo);
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.